package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

public class Order2 implements Serializable{

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private int id;
    private int numid;
    private int commodityid;
    private String name;
    private String description;
    private String classification;
    private int price;
    private int shopid;
    private int number;
    private int relaid;
    private int state;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getClassification() {
        return classification;
    }

    public void setClassification(String classification) {
        this.classification = classification;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getNumber() {
        return number;
    }

    public void getNumber(int number) {
        this.number = number;
    }

    public int getShopid() {
        return shopid;
    }

    public void getShopid(int shopid) {
        this.shopid = shopid;
    }

    public int getRelaid() {
        return relaid;
    }

    public void getRelaid(int relaid) {
        this.relaid = relaid;
    }

    public int getState() {
        return state;
    }

    public void getState(int state) {
        this.state = state;
    }

    public int getCommodityid() {
        return commodityid;
    }

    public void setCommodityid(int commodityid) {
        this.commodityid = commodityid;
    }

    public int getNumid() {
        return numid;
    }

    public void setNumid(int numid) {
        this.numid = numid;
    }

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                "name=" + name +
                "numid=" + numid +
                "commodityid=" + commodityid +
                "description=" + description +
                ", price=" + price +
                ", number=" + number +
                ", shopid=" + shopid +
                "classification=" + classification +
                "relaid=" + relaid +
                ", state='" + state + '\'' +
                '}';
    }
}
